import * as Pinia from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = Pinia.createPinia()
// 使用持久化插件
pinia.use(persist)

export default pinia

// 全局导出
export * from './modules/user'
export * from './modules/form'
export * from './modules/city'